package routers

import (
	"ssims/controllers"

	"github.com/gin-gonic/gin"
)

func eventRouter(r *gin.RouterGroup) {
	r.GET("/event", controllers.GetEvent)
	r.GET("/event1", controllers.GetEvent)
	r.DELETE("/event", controllers.DelEvent)
	r.PUT("/event", controllers.UpdateEvent)
	r.POST("/event", controllers.AddEvent)
}
